package com.nowar.common.constant;

import lombok.Getter;

/**
 * @Author: 谢无殇。
 * @Date : 2023-01-15 21:52
 */
@Getter
public enum CommonResultCode {
    OK("0", "Request succeeded"),
    ERROR("1", "System error");

    CommonResultCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    /**
     * 编码
     */
    private String code;
    /**
     * 说明
     */
    private String message;
}
